home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / inet / netinfo / hostserver-instructions.txt < prev    next >
Text File  |  1991-12-12  |  3KB  |  63 lines

  1. [ netinfo/hostserver-instructions.txt ]                [ 5/90 VN]
  2.  
  3. The NIC Internet Hostname Server is a TCP-based host information
  4. program and protocol running on the NIC.DDN.MIL machine.  The
  5. function of this particular server is to deliver machine-readable
  6. name/address information describing the networks, gateways, hosts, and
  7. domains within the internet environment.  Basic use of the NIC
  8. Hostname Server is documented in RFC 953, which is available via FTP
  9. from NIC.DDN.MIL as the file RFC:RFC953.TXT.
  10.  
  11. To access this server from a program, establish a TCP connection to
  12. port 101 (decimal) at the service host, NIC.DDN.MIL (192.67.67.20).
  13. Send the information request (a single line), and read the resulting
  14. response.  The connection is closed by the server upon completion of
  15. the response, so only one request can be made for each connection.
  16.  
  17. For example:
  18.  
  19.      From Remote Host:  telnet NIC.DDN.MIL 101<Return>
  20.                         haddr 192.67.67.20<Return>
  21.  
  22. SRI-NIC response:
  23.      HOST : 192.67.67.20 : NIC.DDN.MIL : DEC-2060 : TCP/TELNET, 
  24.      TCP/SMTP, TCP/TIME, TCP/FTP, TCP/ECHO, ICMP, UDP/TIME, UDP/DOMAIN,
  25.      TCP/FINGER:
  26.  
  27.      Connection closed by foreign host
  28.  
  29. The currently supported keywords are:
  30.  
  31. Keyword         Response
  32. -------         --------
  33. HELP            This info
  34. VERSION         "VERSION: <string>" where <string> will be different
  35.                         for each version of the host table.
  36. HNAME <hostname> One or more matching host table entries.
  37. HADDR <hostaddr> One or more matching host table entries.
  38. ALL             The entire host table.
  39. ALL-Z           The entire host table in Unix COMPRESS format.
  40. ALL-MIL         A host table of MILNET sites only.
  41.  
  42. DOMAINS         The entire top-level domain table (domains only).
  43. ALL-DOM         Both the entire domain table and the host table.
  44.  
  45. ALL-NETS        Just the NETWORK section of the host table.
  46.  
  47. The server accepts only a single command line and returns only a
  48. single response before closing the connection.  HNAME and HADDR are
  49. useful for looking up a specific host by name or address; VERSION can
  50. be used by automated processes to see whether a "new" version of the
  51. host table exists without having to transfer the whole table.  Note,
  52. however, that the returned version string is only guaranteed to be
  53. unique to each version, and nothing should currently be assumed about
  54. its format.
  55.  
  56. PLEASE NOTE: the Official DoD Internet Host Table is updated twice a
  57. week.  HNAME or HADDR may return information that is not yet
  58. incorporated into the latest host table.  Use VERSION number instead
  59. to verify whether you have the latest host table information.
  60.  
  61. Problems, complaints, or suggestions should be sent via electronic
  62. mail to HOSTMASTER@NIC.DDN.MIL.
  63.